<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
 response.setHeader("Cache-Control","no-cache");
 response.setHeader("Pragma","no-cache"); 
 response.setDateHeader("Expires",0);
%>    
<%@taglib prefix="s" uri="/struts-tags"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.hanbitexam.vo.QuestionVo"%>
<%@page import="flexjson.JSONSerializer"%>
<%
ArrayList<QuestionVo> list = (ArrayList)request.getAttribute("list");
JSONSerializer obj =new JSONSerializer();
response.getWriter().print(obj.serialize(list));
%>

<!-- 
	    <%="<select id='select3' size='10' onchange='load_question()'>"%>
		<%="<option>---문제 리스트---</option>"%>
		<s:iterator value="list" status="stat">
		<%="<option value='"%><s:property value="idx"/><%="'>" %><s:property value="question"/>	    
		<%="</option>"%>
		</s:iterator>
	    <%="</select>"%>
	 -->	